// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2024-11-01',
  app:{
    head:{
      link:[
        {
          rel: 'stylesheet',
          href: 'https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css'
        }
      ]
    }
  },
  devtools: { enabled: true },
  vite: {
    css: {
      preprocessorOptions: {
        scss: {
          additionalData: '@use "@/assets/index.scss" as *;@use "@/assets/test.scss" as *;',
        }
      }
    }
  },
  css: [
    // 'animate.css'
  ],
  modules:[
    '@element-plus/nuxt'
  ],
  // elementPlus: { /** Options */ },
  runtimeConfig:{
    name:'zfl',
    public:{
      baseUrl: 'http://127.0.0.1:5000',
    }
  }
})
